package dao;

import entity.User;

import java.sql.SQLException;

/**
 * 用户DAO接口
 */

public interface UserDAO {
    /**
     * 用户登录
     * @param username
     * @param password
     * @return
     */
    User login(String username, String password) throws SQLException;
}
